<!-- 
    @author Wójcik Karol <wojcikk@student.agh.edu.pl>
    @licence http://www.gnu.org/copyleft/gpl.html GNU/GPL
-->

<div id="colOne">
&#171;
</div>
<div id="colTwo">
<h1>B&#322;&#261;d</h1>
<table>
<% for major in @majors %>
<tr>
    <td>Chcesz usun&#261;&#263; rekord, kt&#243;ry jest kluczem obcym w tabeli
    <% for code in @codes %>
    <font color='red'><%=h "#{code}" %></font></td>
    <td><%= link_to 'Poka&#380;', :controller => "#{code}", :action => 'show', :id => "#{major.id}" %></td>
    <% end %>
</tr>
<% end %>
</table>
</div>
